#ifndef _CMD_FUNC_H_
#define _CMD_FUNC_H_

#include "global.h"

#define DIAL_UP "wvdial &"
#define DIAL_DOWD "killall wvdial"
#define PPP_KILL "killall pppd"

unsigned char 
GetConfig(H16MUP_4G01 * entity, unsigned char page, unsigned short addr);

int 
SetConfig(H16MUP_4G01 * entity, unsigned char page, unsigned short addr, unsigned char data);

//int DealCmd(H16MUP_4G01* entity, unsigned char* pCmd, unsigned char* pRsp);
ushort DealCmd(H16MUP_4G01* entity, unsigned char* pCmd, unsigned char* pRsp);

DATA_BUF * msdh_handle_func(H16MUP_4G01* entity,DATA_BUF *recv_buf);


#endif

